package ziface

import "net"

type IConnection interface {
	Start()
	Stop()
	GetTcpConn() *net.TCPConn
	GetConnId() uint32
	RemoteAddr() *net.Addr
	Send(msgId uint32, data []byte) error
	SendHasBuf(msgId uint32, data []byte) error
	SetProperty(key string, value interface{})
	GetProperty(key string) (interface{}, error)
	RemoveProperty(key string)
}
